# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=slibtool
pkgver=0.5.34
pkgrel=1
pkgdesc="Surrogate libtool implementation written in C"
options="!check" # No testsuite
url="https://git.foss21.org/slibtool"
arch="all"
license="MIT"
source="https://dl.foss21.org/slibtool/slibtool-$pkgver.tar.xz"
makedepends="m4"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
3f7f6e4f45c4c2ae5ba5533152f08269cd77ca6fa2f3a515802bc23c7ac505b2d7340098fa98962c79035129cfd4077205596309f4acd1d634b9a1d6e2c0e96c  slibtool-0.5.34.tar.xz
"
